<table width="83%" align="center" cellpadding="0" cellspacing="0">
  <tr class="grayboxheader">
    <td width="14"><img src="{$conf.images_html}/box_left.gif" border="0" width="14"></td>
    <td background="{$conf.images_html}/box_bg.gif">Add Category</td>
    <td width="14"><img src="{$conf.images_html}/box_right.gif" border="0" width="14"></td>
  </tr>
</table>

<table width="83%" align="center" class="bordered_table">
  {section name="message" show=$message}
    <tr><td class="error"></td></tr>
  {/section}
  <tr>
    <td align="center">
	<form method="POST" action="{$conf.html}/add_category.php">
    <input type="hidden" name="mode" value="{$data.mode}">
    <input type="hidden" name="sid" value="{$data.sid}">
    <input type="hidden" name="category" value="{$category.category}">

      <div style="text-align:left" class="whitebox">Category Name</div>

      <div style="text-align:left" class="indented_cell">
        <input type="text" name="category" value="{$data.category}" size="50">
      </div>

      <div style="text-align:left" class="whitebox">Status</div>

      <div style="text-align:left" class="indented_cell">
        <input type="radio" name="active" value="1"{$data.active_selected}>Active
        &nbsp;
        <input type="radio" name="active" value="0"{$data.inactive_selected}>Inactive
      </div>

      <br />

      <div style="text-align:center">
        <input type="submit" name="add_category" value="Add Category">
      </div>
    </form>
    </td>
  </tr>
  <td style="text-align:center;">
      [ <a href="{$conf.html}">Main</a> ]
    </td>
</table>
